﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Discussions.master" AutoEventWireup="false" CodeFile="SearchDetails.aspx.vb" Inherits="SearchDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<fieldset>
<legend>Search Results</legend>
    <asp:DetailsView ID="DVDiscussion" runat="server" Height="50px" Width="372px" 
        AutoGenerateRows="False" DataSourceID="DSDiscussion">
        <Fields>
            <asp:BoundField DataField="Topic" HeaderText="Topic" SortExpression="Topic" />
            <asp:BoundField DataField="Contribution" HeaderText="Contribution" 
                SortExpression="Contribution" />
            <asp:BoundField DataField="SubmittedDate" HeaderText="SubmittedDate" 
                SortExpression="SubmittedDate" />
        </Fields>
    </asp:DetailsView>
    <asp:SqlDataSource ID="DSDiscussion" runat="server" 
        ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
        ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
        SelectCommand="SELECT [Topic], [Contribution], [SubmittedDate], [ID] FROM [QDiscussionsDetails] WHERE ([ID] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
</fieldset>
</asp:Content>

